2100
Can bars have a grey backcolor and black border color for a summary-bar (EBN)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.RenderType = 0xfffffffe;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABN0GACAADACAxRDAMgBQKAAzQFAYahuGSGAAGMYxQgmFgAQhFcZQSKUOQTDKMIziYBYJhEMQyDAAUIjOKsIhkGYcZAGQBJCjWGodQLOEgwH" +
"IERQjEyUJAGGQIHhyPYbUbGUpQHKkeRtGqgBgoKhKEouNYgAbGYIwTRsdyfDSXBpEWwbDgkNQwWTDNoRDIUQStCysaYjOpnfrUAJ1P7FdQ1NJkXRhGSSK7maapaiCSZ6" +
"STCMj1FhVKSNJ7DQKhGpgKh/ApgYpQOK4fLNXyRBK4QAyKA6bgPFZOZbFViaXY1V5bNKrcjhHQwAyHJ4XXRdV4YRAkUT4GqiJKGSYcQhuXZWbRqO6ABhef6DRThc6jKp" +
"FHIE4llEcojHqSZNgoIxnlgd5thsLREleL43gsYZ9BkaAYkMAgAm+CxGDWWAtiKCRfjcdRgHoHYnicUwgAIEIREAaQYkcQZUHIGRUDQJBOEYRAhDYCxGgMZAkCgdYQha" +
"XQIAYERwQuahXggdgeG6VZ4H4IhdiIGIOB8YIiGiHZZgqYpGF4KYHiKCI+CAU5jCiTQ2g0YhEFyax4gABAEIC");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABU0IQAAYAQGKQYhiAKBQAGaAoDDcMA4QwAAyjAKMEwsACEIrjKCRShyCYZRhGcTAJBMIhiGQYAChEZxVhEMgzDjIAxSJAcQRFESaAABGCQG" +
"h+N4/S4NIi0CIsZQjCaiZ7pKA5bgMCo+UrNMixZQVCSOGChYRpCaZWpGGodQRUFbVHAlKypJKCKrEWSrDhuYAAW7XM7yBS1TzVNSuLZtaLqSroAJ1WTWMB0Ra8NzZEKf" +
"aZACj4arKejrRDCMAggI=");
	var_Appearance.Add(3,"gBFLBCJwBAEHhEJAAEhABN8GACAADACAxRDgMQBQKAAzQFAcDBvBgABiHEZoJhUAIIRZGMIjFDcEwxDSMY7jcYAFgkNQwCUtcBIJDEMIoAJLIwyBKkNQ5AabYrmWJpM" +
"gOEAyDSJM70DCEThLD4aZJnOa5ZjmH5LRBQdBRXQMYwIGCiZQpeKqbgMBoJApCIJxdBNLAAf60LLtGJaSpKZouViJNjSBD4HQTL6BQwsKxIDqaaD/WpgFuLTjiRImShc" +
"MQXJYFbwTOyBbDjG7rJr+FptYRbdYYRQ8dy7Cywa6pOa8YwacotZrAdDXHTmHw1PTRNDmTRYRwfKqJZxieqwHoMLYgAC8Ni3OaoDAiCRQGiYZyHKaRSwPBInIYIIjeRg" +
"zBSAYKCEOySEodZbjybo0HefwfhMLQDnKeg9D6LwsCeV5unYQJYH8Lxvj+a5jgSfIYH8T43hOcZ5H+X4nh2fB6F+aABnOAIfFgFgGgGH43nICoCl+eA1n0fBhAgVZ5gS" +
"HoID4FoDCCCBqBuBYUjgfgigGURYg4JoJmKCBFBaChikiNgVEYYpokYMoMCMKJWCkcIjgiZg6E0Do3gUASAg=");
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar.Color32 = 0x1000000;
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars["Summary"];
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar1.Color32 = 0x2000000;
	exontrol.EXG2ANTTLib.Bar var_Bar2 = var_Chart.Bars.Copy("Summary","SummaryN");
		var_Bar2.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar2.Color32 = 0x3000000;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int hSummaryJ = var_Items.AddItem("Summary A");
	var_Items.AddBar(hSummaryJ,"Summary",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"J",null);
	int hTaskJ = var_Items.InsertItem(hSummaryJ,null,"Task A.1");
	var_Items.AddBar(hTaskJ,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"J1",null);
	hTaskJ = var_Items.InsertItem(hSummaryJ,null,"Task A.2");
	var_Items.AddBar(hTaskJ,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"J2",null);
	var_Items.DefineSummaryBars(hSummaryJ,"J",-1,"<*>");
	int hSummaryK = var_Items.AddItem("Summary B");
	var_Items.AddBar(hSummaryK,"Summary",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K",null);
	int hTaskK = var_Items.InsertItem(hSummaryK,null,"Task B.1");
	var_Items.AddBar(hTaskK,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	hTaskK = var_Items.InsertItem(hSummaryK,null,"Task B.2");
	var_Items.AddBar(hTaskK,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.DefineSummaryBars(hSummaryK,"K",-1,"<*>");
	int hSummaryN = var_Items.AddItem("Summary C");
	var_Items.AddBar(hSummaryN,"SummaryN",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"SN",null);
	hTaskK = var_Items.InsertItem(hSummaryN,null,"Task B.1");
	var_Items.AddBar(hTaskK,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"N1",null);
	hTaskK = var_Items.InsertItem(hSummaryN,null,"Task B.2");
	var_Items.AddBar(hTaskK,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"N2",null);
	var_Items.DefineSummaryBars(hSummaryN,"SN",-1,"<*>");
	var_Items.set_ItemBar(0,"<K*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.set_ItemBar(0,"<N*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,8421504);
	var_Items.set_ExpandItem(0,true);
exg2antt1.EndUpdate();

2099
How can I display UNICODE characters

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
stdole.IFontDisp var_StdFont = exg2antt1.Font;
	var_StdFont.Name = "Arial Unicode";
	var_StdFont.Size = 22;
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderHidden;
exg2antt1.DefaultItemHeight = 48;
(exg2antt1.Columns.Add("") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Ӓӓ");
	var_Items.AddItem("ᦜᦝ;ᦞ");
	var_Items.AddItem("ɮɭ;ɯ");
	var_Items.AddItem("勳勴勵勶");
	var_Items.set_FormatCell(var_Items.AddItem(exg2antt1.Version),0,"(value lfind `UNICODE`) < 0 ? `<fgcolor=FF0000><b>!UNICODE!</b> version</fgcolor> required: ` + value : `` ");
exg2antt1.EndUpdate();

2098
How can I display 12-hour time (method 2)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 4096;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(1);
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exHour;
		var_Level.FormatLabel = "(0 := hour(dvalue)) < 12 ? ( `<fgcolor=808080>` + ( =:0 = 0 ? 12 : =:0 ) + `</fgcolor>` ) : (=:0 - 12)";
exg2antt1.EndUpdate();

2097
How can I display 12-hour time (method 1)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 4096;
	var_Chart.get_Level(1).Label = "<%h12%>";
exg2antt1.EndUpdate();

2096
How do I scale to hours

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).Label = 4096;
	var_Chart.get_Level(1).Label = 65536;
exg2antt1.EndUpdate();

2095
How do I display the position of the item with 0-padding

exg2antt1.BeginUpdate();
(exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column).FormatColumn = "((1 apos ``) lpad `00`) + `. `  + value";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
	var_Items.AddItem("Item D");
exg2antt1.EndUpdate();

2094
Can I format the label in row 3 below to show day numbers, only for Mondays each week (sample 2)

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 3;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%mmmm%> <%yyyy%>";
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMonth;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exWeek;
		var_Level1.Label = "Week <%ww%>";
		var_Level1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	exontrol.EXG2ANTTLib.Level var_Level2 = var_Chart.get_Level(2);
		var_Level2.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
		var_Level2.FormatLabel = "weekday(dvalue) = 1 ? day(dvalue): ''";
	var_Chart.UnitWidth = 23;

2093
Can I format the label in row 3 below to show day numbers, only for Mondays each week (sample 1)

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/31/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 3;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%mmmm%> <%yyyy%>";
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMonth;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exWeek;
		var_Level1.Label = "Week <%ww%>";
		var_Level1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	exontrol.EXG2ANTTLib.Level var_Level2 = var_Chart.get_Level(2);
		var_Level2.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
		var_Level2.FormatLabel = "weekday(dvalue) = 1 ? value : ''";
	var_Chart.UnitWidth = 23;

2092
How can I change the caption for all bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/1/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task%Progress");
		var_Bar.Shortcut = "Task";
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,true);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("8/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/6/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("8/3/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/9/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("8/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/13/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 4"),"Task",Convert.ToDateTime("8/5/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("8/16/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarShowPercentCaption,false);
	var_Items.set_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%= %C0 replace `Task` with `Task<off 4><b>` %>");
	var_Items.set_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exg2antt1.EndUpdate();

2091
Can't get the +/- to be displayed on a divider item. What else can I do

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.TreeColumnIndex = 0;
exg2antt1.MarkSearchColumn = false;
exg2antt1.FullRowSelect = exontrol.EXG2ANTTLib.CellSelectEnum.exColumnSel;
exg2antt1.HeaderAppearance = (exontrol.EXG2ANTTLib.AppearanceEnum)0xfffffff8 | exontrol.EXG2ANTTLib.AppearanceEnum.Bump | exontrol.EXG2ANTTLib.AppearanceEnum.Sunken;
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	(var_Columns.Add("C1") as exontrol.EXG2ANTTLib.Column).Width = 32;
	(var_Columns.Add("C2") as exontrol.EXG2ANTTLib.Column).FormatColumn = "1 index ``";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellSingleLine(h,1,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	h = var_Items.AddItem("This is bit of text merges all cells in the item (divider shows no +/-)");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemBackColor(h,Color.FromArgb(240,240,240));
	var_Items.set_ItemDividerLine(h,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
	var_Items.set_CellHAlignment(h,0,exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment);
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Cell 3");
	h = var_Items.AddItem("This is bit of text merges all cells in the item (merge shows +/-)");
	var_Items.set_ItemBackColor(h,Color.FromArgb(240,240,240));
	var_Items.set_CellMerge(h,0,1);
	var_Items.InsertItem(h,null,"Child 3");
	var_Items.InsertItem(h,null,"Child 4");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

2090
How can I display one or more columns on the same bar

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Summary",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items.get_GroupItem(Item);
		var_Items.set_CellSingleLine(Item,l,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(Item,l,true);
		var_Items.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color32 = 0x1000000;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars["Task"];
		var_Bar1.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
		var_Bar1.Color = Color.FromArgb(164,164,164);
		var_Bar1.StartColor = Color.FromArgb(240,240,240);
		var_Bar1.EndColor = var_Bar1.StartColor;
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%= `<font ;6><fgcolor=0000FF><i>` + %C0 + ` ` + %C1 + ` ` + %C2 %>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,13);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	(var_Columns.Add("C2") as exontrol.EXG2ANTTLib.Column).Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
	(var_Columns.Add("C3") as exontrol.EXG2ANTTLib.Column).Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exNoLine;
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.3");
	var_Items.set_CellValue(h,2,"SubItem A.4");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.5");
	var_Items.set_CellValue(h,2,"SubItem A.6");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.7");
	var_Items.set_CellValue(h,2,"SubItem A.8");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.3");
	var_Items.set_CellValue(h,2,"SubItem B.4");
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2089
How can I associate a box/note to a date into the control's header

exg2antt1.BeginUpdate();
exg2antt1.ScrollBySingleLine = true;
exg2antt1.Columns.Add("Task");
exg2antt1.HeaderHeight = 17;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,96);
	var_Chart.LevelCount = 2;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.set_SelectItem(var_Items.AddItem("Item 2"),true);
	var_Items.AddItem("Item 3");
exontrol.EXG2ANTTLib.Notes var_Notes = exg2antt1.Chart.Notes;
	exontrol.EXG2ANTTLib.Items var_Items1 = exg2antt1.Items;
		var_Items1.set_LockedItemCount(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,1);
		int hLocked = var_Items1.get_LockedItem(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,0);
		var_Items1.set_ItemHeight(hLocked,1);
	exontrol.EXG2ANTTLib.Note var_Note = var_Notes.Add("header",hLocked,Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Date:<br><%dd%>/<%mm%><br><b><%yyyy%></b>");
		var_Note.set_PartVisible(exontrol.EXG2ANTTLib.NotePartEnum.exNoteStart,true);
		var_Note.set_PartText(exontrol.EXG2ANTTLib.NotePartEnum.exNoteStart,"<b><%d%></b>");
		var_Note.set_PartCanMove(exontrol.EXG2ANTTLib.NotePartEnum.exNoteEnd,true);
		var_Note.set_PartCanMove(exontrol.EXG2ANTTLib.NotePartEnum.exNoteStart,true);
		var_Note.set_PartVOffset(exontrol.EXG2ANTTLib.NotePartEnum.exNoteStart,-9);
		var_Note.set_PartVOffset(exontrol.EXG2ANTTLib.NotePartEnum.exNoteEnd,20);
		var_Note.set_PartHOffset(exontrol.EXG2ANTTLib.NotePartEnum.exNoteEnd,20);
		var_Note.set_PartBackColor(exontrol.EXG2ANTTLib.NotePartEnum.exNoteStart,Color.FromArgb(255,255,0));
		var_Note.set_PartFixedWidth(exontrol.EXG2ANTTLib.NotePartEnum.exNoteStart,18);
exg2antt1.EndUpdate();

2088
How can I define a column of button type

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exg2antt1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		System.Diagnostics.Debug.Print( var_Items.get_CellValue(Item,ColIndex).ToString() );
}
//this.exg2antt1.ButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ButtonClickEventHandler(this.exg2antt1_ButtonClick);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Button") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasButton,true);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellButtonAutoWidth,false);
	var_Column.FormatColumn = "``";
	var_Column.AllowSizing = false;
	var_Column.Width = 48;
(exg2antt1.Columns.Add("Second") as exontrol.EXG2ANTTLib.Column).FormatColumn = "` Item ` + 1 index ``";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Button 1");
	var_Items.AddItem("Button 2");
	var_Items.AddItem("Button 3 ");
exg2antt1.EndUpdate();

2087
Is it possible to configure different colour/icon when there is a active filter

// FilterChange event - Occurs when the filter was changed.
private void exg2antt1_FilterChange(object sender)
{
	exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,exg2antt1.FormatABC("value = 0 ? 0x1000001 : 0x10000FF ",exg2antt1.Columns[0].FilterType,null,null));
}
//this.exg2antt1.FilterChange += new exontrol.EXG2ANTTLib.exg2antt.FilterChangeEventHandler(this.exg2antt1_FilterChange);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.RenderType = 0xff000000;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQ" +
"gmPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYTh" +
"dr4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA");
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.ShowFocusRect = false;
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000001);
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exg2antt1.BackColorHeader = Color.FromArgb(255,255,255);
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Filter") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.AllowSort = false;
	var_Column.AllowDragging = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.Filter = "Item B";
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2086
ADODB Requery sample

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exg2antt1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	ADODB.Command cmd = new ADODB.Command();
		cmd.ActiveConnection = ((exg2antt1.DataSource as ADODB.Recordset).ActiveConnection as ADODB.Connection);
		cmd.CommandText = "INSERT INTO Orders (EmployeeID) VALUES(12345)";
		cmd.CommandType = exontrol.ADODB.CommandTypeEnum.adCmdText;
		cmd.Execute(null,null,0);
	(exg2antt1.DataSource as ADODB.Recordset).Requery(0);
}
//this.exg2antt1.ButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ButtonClickEventHandler(this.exg2antt1_ButtonClick);

// Error event - Fired when an internal error occurs.
private void exg2antt1_Error(object sender,int   Err,string   Description)
{
	System.Diagnostics.Debug.Print( Description.ToString() );
}
//this.exg2antt1.Error += new exontrol.EXG2ANTTLib.exg2antt.ErrorEventHandler(this.exg2antt1_Error);

exg2antt1.BeginUpdate();
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exg2antt1.ColumnAutoResize = false;
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Select * From Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenKeyset,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exg2antt1.ConditionalFormats.Add("%1=12345",null).BackColor = Color.FromArgb(240,240,240);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_LockedItemCount(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,1);
	int h = var_Items.get_LockedItem(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellHasButton(h,0,true);
	var_Items.set_CellValue(h,0,"Requery (add a new record, using ADODB.Command)");
	var_Items.set_CellHAlignment(h,0,exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment);
exg2antt1.EndUpdate();

2085
I am skinning the control's header-bar, but the background of the header-bar is shown on each item in the filter-bar drop down panel. What can I do

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABFgDg6AADACAxRDgMQBQKAAzQFAYcBqGqGAAGQZxYgmFgAQhFcZQSKUOQTDKMIziYBYfgkMIgSbJUgDGAkRRdDSOYDmGQYDiCIoRShOMIjH" +
"LUXxtDaIZwhEAoJb+RgAUY/cTzaAEUwHHiTKInaCQGhsCYJUJAdRURQ9EwvCIZBpEWwLChENQwWLCNj2TScBwjCyqbale45ViqdoDU8lORLUi+M4zSBPcZVTRtGShPDB" +
"KTjMKKYgkG4lVpRNa0PC1GTzQ6mazkKQLRADDIDVbAeL3LiMBy9LyLLItQALByua5mWhbcZyBCOPgBTrRb5zO58FjuTK7YLjMB7NrUNYtFaUMy2OpOCADIaecTNcaWLx" +
"PF2MY1HWYxVj2Jw3DuRJonKYBgggSRAlIYw6B0ThGFgPAkFUDAhBMfZRiGNAkFECZnm4YQdneJwqnsSQrGAAhWAIJBJBIQgFCQIBiEIAglgqYo0i4V4MEgRI9gSToYFS" +
"b4Fk6Y4+BmBZhFOJgTC8TBogQAArgqco4muCZOkOMJtgmYpIjYKg7GKE4uCUK4AAKKg2DwI4DiCZw5k6KJ2D6D4OHiag4DwIxiiQAArAqMosnEPBPAOIhOg+DozjIJ4P" +
"GSY4iEwPAkhKLhHUUSQsnKFCnkYU9MjORhcCsAAIACLQ8iaSJ6FKC5jJoaobA8KYoACCRKnmMJzhuDpZnSboMCKGJ4nMPIPDmYAACwKIDk6CoLCeU40m6I5oliMoKDya" +
"ICokLIpgoThviOKJoGYf4KmUKhMjMLJLCAAojCyaYoiYGoGmqM46CkOwPEoKonAACxKlSdItmiWBeBeDgrioNo3D0KxSlAAAtgsUpYnUPRPEoco8hCa+T40SxbBRj5tE" +
"sHJ1i6JhbGYS4ug8awelQLZAAKZI5C4DxrhYQ9ehmUppWiA48nAPRuFKYpiAAC47laZQ9iuKZSgOPotkuFI7C6C4gACPJAm8eQOhOQZoikDp3kCS5AACPoEk8fBGnqQg" +
"pDOSppD2TxjlyPZD6CfwekQTx5lKP5ImseZTCAL5MAMAAAkoTADmMLpIjISp+HSS4PgyMAADBzAHDSIoPCOUpWjObIKE8NJOHKIwPEaTprBsHpdjWLB9AieQ+DQYwQAA" +
"MR1EOZxWi+bx7HcWQ8msfRYnnDhQACRwxgwc5rGaMZPE0ZxqjWNZtgyRwAAyTZEnuXJzEyAx2kQcxNkye5cEy3cYAcANrGAIH4OAhx3gNGGPAfgIR8jBA4McBMARViHH" +
"4HQOYmxuCpF2MsecEQVBvGQCcIQvA6i2CAAIARAQ=");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzQFAYcBqGqGAAGQZxYgmFgAQhFcZQSKUOQTDKMIziYBYJhEMwwDhEIwjHCEEhsGIbJAGQBJCjWGodQLOEgzN" +
"C0IxNFCQILhEZJADKII8TTOU5UPRESwTE4cKBmKhQCo2NpKR7VUTxCKQahLLivoCjBT8EzHMqtIzrCA6MpaP4pQjKcqwHJ8YyHEi0ZrjazKaj6T5AXDUcaWbbNVx3PK3" +
"aioOpLZrqOZZYzYFoABTuJzPMSyIhxXD8cweaZvSpLExVYK9BY3PbKMgxC77QgTIpDaQMNS6PjtF43PAALLFUaNYzoOKzABMHATBIXAYJCwIIR5G7ID4BbQcCQAHL9DB" +
"aEEIAEEISgGhMGZQmocgymmIRQkIEQ2BcGgbEIRQci8XaMBqTRVgSAZHG+S5pnOep+D6f4vjec5zn0fpfmgBgAH6TRoBYBoAh+eAmAiAgPFgNArgOQpIESdoEmCOAOAq" +
"BYfFGAgaEaBgYHYFYFmIB5UiGCJUgKCgmgeYoHk4BgCmKRQiCwApgHgYgyH8B54lQU4NkMeJlBoDgjkiXBTg0R54iYIR+koeQVBoKpkgkChKhEJBkF4SFEjkDgJhFQoe" +
"EmDJlBeehUhWJQJGIXoICWOQ6FeFIlhkfhlDsSJpiQVoamaSY2G6G5nAmRhpCOH5pkwVYdmeCZmHqHpnkmdhzhmaAIFiax8AABAEICA==");
exg2antt1.BackColorHeader32 = 0x1000000;
exg2antt1.ForeColorHeader = Color.FromArgb(128,128,128);
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,0x2000000);
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exBackColorFilter,Color.FromArgb(255,255,255));
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exForeColorFilter,Color.FromArgb(0,0,1));
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exSelBackColorFilter,0x1ff8000);
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exSelForeColorFilter,Color.FromArgb(240,240,240));
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);
exg2antt1.HeaderHeight = 24;
exg2antt1.BackColorLevelHeader = exg2antt1.BackColor;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Filter") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exHeaderPaddingLeft,2);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exHeaderPaddingRight,2);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.AddItem("C");
	var_Items.AddItem("D");
exg2antt1.EndUpdate();

2084
I specify the ItemHeight for each row, but as soon as I click the chart section, the item's height is restored to default (not working). What could be the cause

exg2antt1.BeginUpdate();
exg2antt1.ScrollBySingleLine = true;
exg2antt1.Columns.Add("Types");
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
	var_Chart.AllowLinkBars = false;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.set_PaneWidth(false,112);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%9%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("ItemMinHeight");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
	var_Items.set_ItemMinHeight(h,64);
	var_Items.AddBar(var_Items.AddItem("Default (One)"),"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
	h = var_Items.AddItem("Default (Two)");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A4",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A5",null);
	h = var_Items.AddItem("ItemFixedHeight");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A6",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A7",null);
	var_Items.set_ItemMinHeight(h,20);
	var_Items.set_ItemMaxHeight(h,20);
	h = var_Items.AddItem("ItemMaxHeight");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A8",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A9",null);
	var_Items.set_ItemMaxHeight(h,24);
exg2antt1.EndUpdate();

2083
The ItemHeight property is not working (method 2)

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
exg2antt1.ScrollBySingleLine = true;
(exg2antt1.Columns.Add("Column") as exontrol.EXG2ANTTLib.Column).Width = 128;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellSingleLine(var_Items.AddItem("This is a bit of text that should break the line"),0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	int h = var_Items.AddItem("");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_SelectableItem(h,false);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXG2ANTTLib.DividerAlignmentEnum.DividerCenter);
	var_Items.set_ItemHeight(h,3);
	var_Items.set_CellSingleLine(var_Items.AddItem("This is a bit of text that should break the line"),0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
exg2antt1.EndUpdate();

2082
The ItemHeight property is not working (method 1)

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
exg2antt1.ScrollBySingleLine = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Column") as exontrol.EXG2ANTTLib.Column);
	var_Column.Width = 128;
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellSingleLine,0);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("This is a bit of text that should break the line");
	int h = var_Items.AddItem("");
	var_Items.set_ItemDivider(h,0);
	var_Items.set_SelectableItem(h,false);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXG2ANTTLib.DividerAlignmentEnum.DividerCenter);
	var_Items.set_ItemMinHeight(h,3);
	var_Items.set_ItemMaxHeight(h,3);
	var_Items.AddItem("This is a bit of text that should break the line");
exg2antt1.EndUpdate();

2081
How do I use the ColumnsFloatBarVisible on exColumnsFloatBarVisibleIncludeCheckColumns

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("City");
	(var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column).Visible = false;
	(var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column).Visible = false;
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exColumnsFloatBar,"Show/Hide");
exg2antt1.ColumnsFloatBarSortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.ColumnsFloatBarVisible = exontrol.EXG2ANTTLib.ColumnsFloatBarVisibleEnum.exColumnsFloatBarVisibleIncludeCheckColumns;
exg2antt1.EndUpdate();

2080
How do I use the ColumnsFloatBarVisible on exColumnsFloatBarVisibleIncludeHiddenColumn

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("City");
	(var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column).Visible = false;
	(var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column).Visible = false;
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exColumnsFloatBar,"Show");
exg2antt1.ColumnsFloatBarVisible = exontrol.EXG2ANTTLib.ColumnsFloatBarVisibleEnum.exColumnsFloatBarVisibleIncludeHiddenColumns;
exg2antt1.ColumnsFloatBarSortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2079
How do I use the ColumnsFloatBarVisible on exColumnsFloatBarVisibleIncludeGroupByColumns

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("City");
	var_Columns.Add("Start");
	var_Columns.Add("End");
exg2antt1.AllowGroupBy = true;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.BackColorSortBar = Color.FromArgb(250,250,250);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exColumnsFloatBar,"Group-By");
exg2antt1.ColumnsFloatBarVisible = exontrol.EXG2ANTTLib.ColumnsFloatBarVisibleEnum.exColumnsFloatBarVisibleIncludeGroupByColumns;
exg2antt1.ColumnsFloatBarSortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.Columns["City"].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2078
How can I advance to the next line, once the user presses the ENTER key

// KeyDown event - Occurs when the user presses a key while an object has the focus.
private void exg2antt1_KeyDown(object sender,ref short   KeyCode,short   Shift)
{
	System.Diagnostics.Debug.Print( "KeyCode Before:" );
	System.Diagnostics.Debug.Print( KeyCode.ToString() );
	KeyCode = exg2antt1.FormatABC("value = 13 ? 40 : value",KeyCode,null,null);
	System.Diagnostics.Debug.Print( "KeyCode After:" );
	System.Diagnostics.Debug.Print( KeyCode.ToString() );
}
//this.exg2antt1.KeyDown += new exontrol.EXG2ANTTLib.exg2antt.KeyDownEventHandler(this.exg2antt1_KeyDown);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	exontrol.EXG2ANTTLib.Editor var_Editor = (var_Columns.Add("A") as exontrol.EXG2ANTTLib.Column).Editor;
		var_Editor.Appearance = exontrol.EXG2ANTTLib.InplaceAppearanceEnum.EtchedApp;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
	exontrol.EXG2ANTTLib.Editor var_Editor1 = (var_Columns.Add("B") as exontrol.EXG2ANTTLib.Column).Editor;
		var_Editor1.Appearance = exontrol.EXG2ANTTLib.InplaceAppearanceEnum.EtchedApp;
		var_Editor1.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h0 = var_Items.AddItem("Item A.1");
	var_Items.set_CellValue(h0,1,"Item B.1");
	h0 = var_Items.AddItem("Item A.2");
	var_Items.set_CellValue(h0,1,"Item B.2");
exg2antt1.EndUpdate();

2077
I am using AddNew to add new records, but I can not see them into the control

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,1),var_Items.get_CellValue(Item,2),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exg2antt1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	ADODB.Recordset var_Recordset = (exg2antt1.DataSource as ADODB.Recordset);
		var_Recordset.AddNew(null,null);
		var_Recordset.Fields["Name"].Value = "Task New";
		var_Recordset.Update(null,null);
}
//this.exg2antt1.ButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ButtonClickEventHandler(this.exg2antt1_ButtonClick);

exg2antt1.BeginUpdate();
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
ADODB.Recordset rs = new ADODB.Recordset();
	ADODB.Fields var_Fields = rs.Fields;
		var_Fields.Append("Name",exontrol.ADODB.DataTypeEnum.adBSTR,0,null,null);
		var_Fields.Append("Start",exontrol.ADODB.DataTypeEnum.adDate,0,null,null);
		var_Fields.Append("End",exontrol.ADODB.DataTypeEnum.adDate,0,null,null);
	rs.Open(null,null,null,null,0);
	rs.AddNew(null,null);
	rs.Fields["Name"].Value = "Task A";
	rs.Fields["Start"].Value = Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	rs.Fields["End"].Value = Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	rs.Update(null,null);
	rs.AddNew(null,null);
	rs.Fields["Name"].Value = "Task B";
	rs.Fields["Start"].Value = Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	rs.Fields["End"].Value = Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	rs.Update(null,null);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns["Start"].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns["End"].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_LockedItemCount(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,1);
	int h = var_Items.get_LockedItem(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellHasButton(h,0,true);
	var_Items.set_CellValue(h,0,"AddNew");
	var_Items.set_CellHAlignment(h,0,exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment);
exg2antt1.DetectAddNew = true;
exg2antt1.DetectDelete = true;
exg2antt1.EndUpdate();

2076
How can I create a new ADO recordset

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,1),var_Items.get_CellValue(Item,2),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	ADODB.Fields var_Fields = rs.Fields;
		var_Fields.Append("Name",exontrol.ADODB.DataTypeEnum.adBSTR,0,null,null);
		var_Fields.Append("Start",exontrol.ADODB.DataTypeEnum.adDate,0,null,null);
		var_Fields.Append("End",exontrol.ADODB.DataTypeEnum.adDate,0,null,null);
	rs.Open(null,null,null,null,0);
	rs.AddNew(null,null);
	rs.Fields = exontrol.ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Fields = exontrol.ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Fields = exontrol.ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Update(null,null);
	rs.AddNew(null,null);
	rs.Fields = exontrol.ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Fields = exontrol.ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Fields = exontrol.ADODB.CursorTypeEnum.adOpenForwardOnly;
	rs.Update(null,null);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns["Start"].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns["End"].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2075
Do do I get the DAO version I have installed

System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );
System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );
System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );

2074
How do I get a list of interfaces the object implemenets

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
// Add 'Microsoft Office 15.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
System.Diagnostics.Debug.Print( new Object().ToString() );
exg2antt1.DataSource = (rs as DAO.Recordset2);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2073
Do do I get the ADO version I have installed

System.Diagnostics.Debug.Print( "ADO Version:" );
System.Diagnostics.Debug.Print( new ADODB.Connection().Version );

2072
DAO, ACCDB, 120

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
// Add 'Microsoft Office 15.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
exg2antt1.DataSource = (rs as DAO.Recordset2);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2071
DAO, MDB, 120

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
// Add 'Microsoft Office 15.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExG2antt\\sample\\Access\\misc.mdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
exg2antt1.DataSource = (rs as DAO.Recordset2);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2070
DAO, MDB

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
// Add 'Microsoft DAO 3.6 Object Library(dao360.dll)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset rs = var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExG2antt\\sample\\Access\\misc.mdb",null,null,null).OpenRecordset("Orders",null,null,null);
exg2antt1.DataSource = (rs as DAO.Recordset);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2069
ADODB, ACCDB, x64

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenKeyset,exontrol.ADODB.LockTypeEnum.adLockReadOnly,0);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2068
ADOR, ACCDB

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2067
ADODB, MDB

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2066
ADOR, MDB

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/4/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

2065
I am using exCellValueToItemBarProperty, Is it possible to “disable” this synchronisation for one (or several) item (sample-2)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Tasks");
	(var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
	(var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("9/22/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBold(h,true);
	var_Items.CellValueToItemBar(h,1,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarStart,"newbar");
	var_Items.CellValueToItemBar(h,2,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEnd,"newbar");
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("9/23/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

2064
I am using exCellValueToItemBarProperty, Is it possible to “disable” this synchronisation for one (or several) item (sample-1)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Tasks");
	(var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
	(var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,196);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("9/22/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_FormatCell(h,1,"``");
	var_Items.set_FormatCell(h,2,"``");
	var_Items.set_ItemBold(h,true);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("9/23/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

2063
How can I use the CRD (eXCRD format)

exg2antt1.BeginUpdate();
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellFormatLevel,"[b=0]60;1[b=15]:60,((20;\"<fgcolor=808080>Dateigröße\"[b=1][a=2]:120,2[b=15])/(20;\"<fgcolor=808080>Erstellt am\"[a=2]:120,3[b=" +
"15])/(20;\"<fgcolor=808080>Zuletzt bearbeitet\"[b=4][a=2]:120,4[b=15]))");
	var_Column.AllowSort = false;
(exg2antt1.Columns.Add(1.ToString()) as exontrol.EXG2ANTTLib.Column).Visible = false;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add(2.ToString()) as exontrol.EXG2ANTTLib.Column);
	var_Column1.Visible = false;
	var_Column1.Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
	var_Column1.FormatColumn = "1 index `A-Z`";
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add(3.ToString()) as exontrol.EXG2ANTTLib.Column);
	var_Column2.Visible = false;
	var_Column2.Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
	var_Column2.FormatColumn = "1 index ``";
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add(4.ToString()) as exontrol.EXG2ANTTLib.Column);
	var_Column3.Visible = false;
	var_Column3.Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
	var_Column3.FormatColumn = "date(``)";
string dih = 48;
exg2antt1.DefaultItemHeight = dih;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("");
	var_Items.set_CellValue(h,1,"One");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemMaxHeight(h,dih);
	h = var_Items.AddItem("");
	var_Items.set_CellValue(h,1,"Two");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
	var_Items.set_ItemMaxHeight(h,dih);
	h = var_Items.AddItem("");
	var_Items.set_CellValue(h,1,"Three");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
exg2antt1.EndUpdate();

2062
Type of wraps the cell's caption support (Sample 2)

exg2antt1.BeginUpdate();
exg2antt1.HeaderSingleLine = false;
exg2antt1.HeaderHeight = 36;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.ColumnAutoResize = false;
exg2antt1.ScrollBySingleLine = true;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Single-Line (exCaptionSingleLine)") as exontrol.EXG2ANTTLib.Column);
		var_Column.Width = 96;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellSingleLine,-1);
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Word-Wrap (exCaptionWordWrap)") as exontrol.EXG2ANTTLib.Column);
		var_Column1.Width = 96;
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellSingleLine,0);
		var_Column1.FormatColumn = "%0";
	exontrol.EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("Break-Wrap (exCaptionBreakWrap)") as exontrol.EXG2ANTTLib.Column);
		var_Column2.Width = 96;
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellSingleLine,1);
		var_Column2.FormatColumn = "%0";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.AddItem("This is the <b>first</b> line.\\r\\nThis is the <b>second</b> line.\\r\\nThis is the <b>third</b> line.");
exg2antt1.EndUpdate();

2061
Type of wraps the cell's caption support (Sample 1)

exg2antt1.BeginUpdate();
exg2antt1.HeaderSingleLine = false;
exg2antt1.HeaderHeight = 36;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.ColumnAutoResize = false;
exg2antt1.ScrollBySingleLine = true;
(exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column).Width = 128;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,exontrol.EXG2ANTTLib.ValueFormatEnum.exHTML);
	h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items.set_CellSingleLine(h,0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,exontrol.EXG2ANTTLib.ValueFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items.set_CellSingleLine(h,0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionBreakWrap);
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,exontrol.EXG2ANTTLib.ValueFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionBreakWrap);
exg2antt1.EndUpdate();

2060
Can I break the cell's caption using the line break <br> or \r\n (Sample 2)

exg2antt1.BeginUpdate();
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.ColumnAutoResize = false;
exg2antt1.ScrollBySingleLine = true;
(exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column).Width = 128;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellSingleLine(var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line."),0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionBreakWrap);
	var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
exg2antt1.EndUpdate();

2059
Can I break the cell's caption using the line break <br> or \r\n (Sample 1)

exg2antt1.BeginUpdate();
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.ColumnAutoResize = false;
exg2antt1.ScrollBySingleLine = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.Width = 128;
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellSingleLine,1);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
exg2antt1.EndUpdate();

2058
The histogram is showing empty space, when expanding an item. What could be wrong

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exGroupLinesOutside;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 48;
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramNoGrouping | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramLeafItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	var_Chart.Bars["Task"].HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project 1");
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 2"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Project 2");
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 1"),"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 2"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

2057
How can I change the visual appearance/color of the Filter For ... field

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.BackColorHeader = Color.FromArgb(1,0,0);
exg2antt1.ForeColorHeader = Color.FromArgb(255,255,255);
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exBackColorFilter,exg2antt1.BackColorHeader);
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exForeColorFilter,exg2antt1.ForeColorHeader);
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exHeaderFilterBarButton,Color.FromArgb(240,240,240));
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exCursorHoverColumn,-1);
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Bump;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();

2056
How can I display the cell's caption without spaces on both sides

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "((trim(value) replace `   ` with ` `) replace `  ` with ` `) replace ` ` with `<bgcolor=FF0000> </bgcolor>`";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
exg2antt1.EndUpdate();

2055
How can I highlight the spaces within the column (sample 2)

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "`'` + ( value replace ` ` with `_` ) + `'`";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
exg2antt1.EndUpdate();

2054
How can I highlight the spaces within the column (sample 1)

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "len(value) = 0 ? `<bgcolor=FF0000> </bgcolor>` : ( value replace ` ` with `<bgcolor=FF0000> </bgcolor>` )";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
exg2antt1.EndUpdate();

2053
How can I change the visual aspect of the drop down filter-calendar

exg2antt1.BeginUpdate();
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exBackColorFilter,Color.FromArgb(0,0,1));
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exForeColorFilter,Color.FromArgb(255,255,255));
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exDateScrollRange,Color.FromArgb(255,255,255));
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exDateHeader,exg2antt1.get_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exBackColorFilter));
exg2antt1.set_Background(exontrol.EXG2ANTTLib.BackgroundPartEnum.exDateScrollThumb,Color.FromArgb(128,128,128));
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Date") as exontrol.EXG2ANTTLib.Column);
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterDate = true;
	var_Column.DisplayFilterPattern = false;
exg2antt1.EndUpdate();

2052
How can I scroll the chart to ensure that a bar fits the chart's client area

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exg2antt1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	object kBar = exg2antt1.Items.get_FirstItemBar(Item);
	object dStart = exg2antt1.Items.get_ItemBar(Item,kBar,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarStart);
	object dEnd = exg2antt1.Items.get_ItemBar(Item,kBar,exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEnd);
	object dScroll = exg2antt1.FormatABC("(A+B)/2",dStart,dEnd,null);
	exg2antt1.Chart.ScrollTo(dScroll,1);
}
//this.exg2antt1.ButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ButtonClickEventHandler(this.exg2antt1_ButtonClick);

exg2antt1.BeginUpdate();
exg2antt1.ShowFocusRect = false;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesDot4;
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowDateTimeScaleBottom | exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewAllowVerticalScroll | exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.OverviewHeight = 26;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/8/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.UnitWidth = 14;
	var_Chart.LevelCount = 2;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesDot4;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.ColumnsFormatLevel = "\"\":2,(\"\"/14;1/\"\"):14";
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Default");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("") as exontrol.EXG2ANTTLib.Column);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasButton,true);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellBackColor,15790320);
		var_Column.Visible = false;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("T1"),"Task",Convert.ToDateTime("6/9/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/17/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("1/10/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/17/2012",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T3"),"Task",Convert.ToDateTime("2/19/2013",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("2/23/2013",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T4"),"Task",Convert.ToDateTime("12/19/2014",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/23/2014",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

2051
Is it possible to hide completely the list portion

exg2antt1.BeginUpdate();
exg2antt1.HeaderHeight = 32;
exg2antt1.OnResizeControl = exontrol.EXG2ANTTLib.OnResizeControlEnum.exDisableSplitter | exontrol.EXG2ANTTLib.OnResizeControlEnum.exResizeChart;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.ApplyToBars = "Task";
	var_ConditionalFormat.BarColor = Color.FromArgb(255,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/8/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.AllowInsideZoom = true;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<b><%d%>-<%mmm%>-<%yyyy%>";
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>";
		var_Level1.Count = 8;
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exHour;
		var_Level1.FormatLabel = "date(int(dvalue)) case (#06/08/2011# : (int(value) case ( 0 : 'Shift <b>1</b><br>23/20'; 8 : 'Shift <b>2</b><br>38/30' ; 16 : '" +
"Shift <b>3</b><br>24/24' ) ) ; #06/09/2011# : (int(value) case ( 0 : 'Shift <b>1</b><br>15/20'; 8 : 'Shift <b>2</b><br>30/32' ; " +
"16 : 'Shift <b>3</b><br>26/24' ) ) )";
	var_Chart.UnitWidth = 64;
	var_Chart.NonworkingDays = 0;
	var_Chart.ColumnsFormatLevel = "0";
	var_Chart.AllowInsideZoom = true;
	var_Chart.DefaultInsideZoomFormat.InsideUnit = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.AllowResizeInsideZoom = false;
	var_Chart.InsideZoomOnDblClick = false;
	exontrol.EXG2ANTTLib.InsideZooms var_InsideZooms = var_Chart.InsideZooms;
		var_InsideZooms.SplitBaseLevel = false;
		var_InsideZooms.DefaultWidth = 0;
	exontrol.EXG2ANTTLib.InsideZooms var_InsideZooms1 = var_Chart.InsideZooms;
		var_InsideZooms1.Add(Convert.ToDateTime("6/9/2011 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
		var_InsideZooms1.Add(Convert.ToDateTime("6/9/2011 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesDot4;
(exg2antt1.Columns.Add("Defaul") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("T1"),"Task",Convert.ToDateTime("6/8/2011 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/10/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("6/8/2011 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/10/2011 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T3"),"Task",Convert.ToDateTime("6/9/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/10/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(var_Items[1],0,1);
exg2antt1.EndUpdate();

2050
How can I find out what exBarWorkingCount represents

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 42;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Format") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column1.FormatColumn = "trim((1:=int((0:=value)/365) ? =:1 + ` year(s) ` : ``)  + (1:=int((0:=(=:0 - (=:1*365)))/31) ? =:1 + ` month(s) ` : ``) + (1:=i" +
"nt((0:=(=:0 - (=:1*31)))/7) ? =:1 + ` week(s) ` : ``) + (1:=int((0:=(=:0 - (=:1*7)))/1) ? =:1 + ` day(s) ` : ``) + (1:=int((0:=(" +
"=:0 - =:1 + 1/24/60/60/2))*24) ? =:1 + ` hour(s) ` : ``) + (1:=int((0:=(=:0*24 - =:1))*60) ? =:1 + ` min(s) ` : ``) + (1:=int((0" +
":=(=:0*60 - =:1))*60) ? =:1 + ` sec(s)` : ``))";
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Value") as exontrol.EXG2ANTTLib.Column);
	var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column2.SortType = exontrol.EXG2ANTTLib.SortTypeEnum.SortNumeric;
	var_Column2.Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
exg2antt1.SelBackColor = Color.FromArgb(204,232,255);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 15728767;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Chart.AllowLinkBars = false;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%d3%>, <%m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%dddd%>, <%mmmm%> <%d%>, <%yyyy%> " +
"<%h%>:<%nn%> <%AM/PM%><||>15");
	var_Chart.AllowZoomOnFly = exontrol.EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFlyIncludeNeighborItems | exontrol.EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFly;
	var_Chart.BackColorZoomOnFly = Color.FromArgb(255,255,0);
exg2antt1.Items.AllowCellValueToItemBar = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("");
	var_Items.set_SelectableItem(h,false);
	var_Items.set_SortableItem(h,false);
	var_Items.AddBar(var_Items.AddItem("T1"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T3"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 19:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("");
	var_Items.set_SelectableItem(h,false);
	var_Items.set_SortableItem(h,false);
exg2antt1.EndUpdate();

2049
How can I hide the filter bar description

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Filter") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "B";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.AddItem("C");
exg2antt1.ApplyFilter();
exg2antt1.FilterBarHeight = 0;
exg2antt1.EndUpdate();

2048
How can I add a break bar

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 42;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Working") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column1.FormatColumn = "((1:=int(0:= (value))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*24))) != 0 " +
"? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')";
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
exg2antt1.SelBackColor = Color.FromArgb(204,232,255);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,164);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 15728767;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task:Split");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
		var_Bar.Shortcut = "Task";
	var_Chart.AllowLinkBars = false;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%d3%>, <%m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%dddd%>, <%mmmm%> <%d%>, <%yyyy%> " +
"<%h%>:<%nn%> <%AM/PM%><||>15");
	var_Chart.AllowZoomOnFly = exontrol.EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFlyIncludeNeighborItems | exontrol.EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFly;
	var_Chart.BackColorZoomOnFly = Color.FromArgb(255,255,0);
	var_Chart.AllowNonworkingBars = true;
exg2antt1.Items.AllowCellValueToItemBar = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("");
	int h = var_Items.AddItem("T1");
	var_Items.set_ItemNonworkingUnits(h,false,"(weekday(value) in (0,6)) or (timeF(value) < `07:00:00`) or (timeF(value) >= `20:00:00`) ");
	var_Items.AddBar(h,"",Convert.ToDateTime("4/6/2009 7:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 9:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","<c><font ;4>break<br>bar");
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTreatAsNonworking,true);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 17:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddItem("");
exg2antt1.EndUpdate();

2047
It seems the ResizeUnitCount have no effect on the ZoomOnFly feature, is it normal

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.Width = 42;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Working") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column1.FormatColumn = "((1:=int(0:= (value))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*24))) != 0 " +
"? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')";
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
exg2antt1.SelBackColor = Color.FromArgb(204,232,255);
exg2antt1.SelForeColor = Color.FromArgb(0,0,0);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.SelBackColor = exg2antt1.SelBackColor;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,164);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.NonworkingHours = 15728767;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingHours = false;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Chart.AllowLinkBars = false;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
	var_Chart.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesSolid;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"<|><%nn%><|><%h%>:<%nn%> <%AM/PM%><|><%d3%>, <%m3%> <%d%>, '<%yy%> <%h%>:<%nn%> <%AM/PM%><|><%dddd%>, <%mmmm%> <%d%>, <%yyyy%> " +
"<%h%>:<%nn%> <%AM/PM%><||>15");
	var_Chart.AllowZoomOnFly = exontrol.EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFlyIncludeNeighborItems | exontrol.EXG2ANTTLib.ZoomOnFlyEnum.exZoomOnFly;
	var_Chart.BackColorZoomOnFly = Color.FromArgb(255,255,0);
exg2antt1.Items.AllowCellValueToItemBar = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("");
	var_Items.AddBar(var_Items.AddItem("T1"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("T2"),"Task",Convert.ToDateTime("4/6/2009 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/6/2009 17:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddItem("");
exg2antt1.EndUpdate();

2046
Export Data in HTML format

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemBold(Item,true);
		var_Items.AddBar(Item,"Summary",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		int i = var_Items.get_ItemToIndex(Item);
		var_Items.AddBar(Item,"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
		var_Items.set_ItemBar(Item,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,i);
		var_Items.set_ItemBar(Item,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarDuration,i);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( value replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.FilterBarPromptType = exontrol.EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
exg2antt1.SingleSort = false;
exg2antt1.AllowGroupBy = true;
exg2antt1.BackColorSortBar = exg2antt1.BackColor;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
	var_Appearance.RenderType = 0xf0000000;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color32 = 0x1808080;
		var_Bar.Height = 7;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars["Task"];
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=(%2-%1) in (3,5) ? %513 : `` %>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("(%2 - %1) = 3","K3");
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.BarColor = var_ConditionalFormat.ForeColor;
	var_ConditionalFormat.ApplyToBars = "Task";
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat1 = exg2antt1.ConditionalFormats.Add("(%2 - %1) = 5","K5");
	var_ConditionalFormat1.ForeColor = Color.FromArgb(0,255,0);
	var_ConditionalFormat1.BarColor = var_ConditionalFormat1.ForeColor;
	var_ConditionalFormat1.ApplyToBars = "Task";
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	(var_Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task C");
exg2antt1.Columns["Tasks"].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();
string sFile = "c:/temp/export.html";
exg2antt1.Export(sFile,"vis");
// Add 'Microsoft Internet Controls(ieframe.dll)' reference to your project.
SHDocVw.ShellBrowserWindow var_ShellBrowserWindow = new SHDocVw.ShellBrowserWindow();
	var_ShellBrowserWindow.Navigate2(sFile,null,null,null,null);

2045
Export Data in CSV format

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		int i = var_Items.get_ItemToIndex(Item);
		var_Items.AddBar(Item,"Task",Convert.ToDateTime("1/2/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
		var_Items.set_ItemBar(Item,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMove,i);
		var_Items.set_ItemBar(Item,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarDuration,i);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( value replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.FilterBarPromptType = exontrol.EXG2ANTTLib.FilterPromptEnum.exFilterPromptContainsAny;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=(%2-%1) in (3,5) ? %513 : `` %>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("(%2 - %1) = 3","K3");
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.BarColor = var_ConditionalFormat.ForeColor;
	var_ConditionalFormat.ApplyToBars = "Task";
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat1 = exg2antt1.ConditionalFormats.Add("(%2 - %1) = 5","K5");
	var_ConditionalFormat1.ForeColor = Color.FromArgb(0,255,0);
	var_ConditionalFormat1.BarColor = var_ConditionalFormat1.ForeColor;
	var_ConditionalFormat1.ApplyToBars = "Task";
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	(var_Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task A");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task B");
	var_Items.AddItem("Task C");
exg2antt1.EndUpdate();
System.Diagnostics.Debug.Print( exg2antt1.Export("","vis").ToString() );

2044
I want to be able to detect when a user clicks on a row in the chart that is not populated

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	int item = exg2antt1.get_ItemFromPoint(-1,-1,col,hit);
	Date date = exg2antt1.Chart.get_DateFromPoint(-1,-1);
	object sMessage = exg2antt1.FormatABC("(not(A = 0) ? `chart` : `list`) + ` ` + (not(B = 0) ? `item` : `empty`)  ",date,item,null);
	System.Diagnostics.Debug.Print( sMessage.ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/3/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/4/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2018",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

2043
Is it possible to have multiple calendars. A calendar for each row for example. Reason : some of our lines work 2 shifts but some also have a night shift

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Working") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,258);
	var_Column.FormatColumn = "((1:=int(0:=( 24*int(value) + (value - int(value) + 1/24/60/60/2)*24))) != 0 ? =:1 + ' hour(s)' : '' ) + (=:1 ? ' ' : '' ) + ((" +
"1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')";
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,148);
	var_Chart.LevelCount = 2;
	var_Chart.ShowNonworkingUnits = false;
	var_Chart.ShowNonworkingDates = false;
	exontrol.EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		var_Bars.Add("Task:Split").Shortcut = "Task";
		var_Bars["Task"].set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"<%h%><||><||>65536");
	var_Chart.get_Level(0).FormatLabel = "`<font small fonts;6>` + value";
	var_Chart.get_Level(1).FormatLabel = "len(value) = 2 ? (`<font small fonts;4>` + (value left 1) + `<br>` + (value right 1) ) : (`<font small fonts;4>` + ` <br>` + (v" +
"alue left 1) + `` )";
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.UnitWidth = 9;
exg2antt1.Items.AllowCellValueToItemBar = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	string sCalendar1 = "weekday(value) in (0,6) or (hour(value) < 6) or (hour(value) > 18)";
	int h = var_Items.AddItem("Shift 1");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar1.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Shift 1");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar1.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/8/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	string sCalendar2 = "weekday(value) in (0,6) or (hour(value) < 8) or (hour(value) > 14)";
	h = var_Items.AddItem("Shift 2");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar2.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Shift 2");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar2.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/8/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	string sCalendar3 = "weekday(value) in (0,6) or 0 = ( hour(value) mod 3 ) ";
	h = var_Items.AddItem("Shift 3");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar3.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Shift 3");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar3.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/8/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	string sCalendar4 = "weekday(value) in (0,6)";
	h = var_Items.AddItem("Shift 3");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar4.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/7/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Shift 3");
	var_Items.set_ItemNonworkingUnits(h,false,sCalendar4.ToString());
	var_Items.AddBar(h,"Task",Convert.ToDateTime("4/6/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("4/8/2009",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

2042
Is it possible to check multiple-items at once

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object bHasParent = exg2antt1.FormatABC("value != 0",exg2antt1.Items.get_ItemParent(Item),null,null);
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_CellHasCheckBox(Item,0,false);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "value + (%CS0 = 1 ? `<r><fgcolor=808080>(checked)` : ``)";
exg2antt1.HeaderVisible = exontrol.EXG2ANTTLib.HeaderVisibleEnum.exHeaderVisibleExtendLevels;
exg2antt1.SingleSel = false;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	hChild = var_Items.InsertItem(h,null,"Task 2");
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_LockedItemCount(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,1);
	var_Items.set_CellValue(var_Items.get_LockedItem(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,0),0,"<c>Select multiple items and press the <b>SPACE</b> key");
exg2antt1.EndUpdate();

2041
How can I prevent changing the start/end colors of the bar, when ItemBar(exBarColor) property is applied

exg2antt1.BeginUpdate();
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exg2antt1.VisualAppearance.Add(1,"E:\\Exontrol\\ExButton\\sample\\EBN\\Assorted\\bhframe.ebn");
exg2antt1.Chart.set_PaneWidth(false,96);
exontrol.EXG2ANTTLib.Bars var_Bars = exg2antt1.Chart.Bars;
	var_Bars.AddShapeCorner(12345,1);
	var_Bars.AddShapeCorner(999,2);
	var_Bars.AddShapeCorner(1049,3);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Bars.Add("T1");
		var_Bar.StartShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
		var_Bar.EndShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x3e0 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconLeft;
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternNDot;
		var_Bar.StartColor = Color.FromArgb(0,255,0);
		var_Bar.Color32 = 0x1000000;
		var_Bar.EndColor = Color.FromArgb(255,0,0);
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=`<font ;6>  ` + %0 + ``%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Bars.Add("T2");
		var_Bar1.StartShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x3020 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
		var_Bar1.EndShape = (exontrol.EXG2ANTTLib.ShapeCornerEnum)0x400 | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconVBar | exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconRight;
		var_Bar1.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternNDot;
		var_Bar1.StartColor32 = -1;
		var_Bar1.Color32 = 0x1000000;
		var_Bar1.EndColor32 = -1;
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=`<font ;6>  ` + %0 + ``%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"T1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Item 2");
	var_Items.AddBar(h,"T1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,65280);
	h = var_Items.AddItem("Item 3");
	var_Items.AddBar(h,"T1",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	h = var_Items.AddItem("Item 4");
	var_Items.AddBar(h,"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h = var_Items.AddItem("Item 5");
	var_Items.AddBar(h,"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,65280);
	h = var_Items.AddItem("Item 6");
	var_Items.AddBar(h,"T2",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
exg2antt1.EndUpdate();

2040
How can I get the icon from the cell when using the Items.CellImages property (icon index)

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	int i = exg2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exg2antt1.FormatABC("( 0x44 = ( value bitand 0x44 ) ) ? ( ( (value bitand 0xFFFF0000) bitshift 16 ) array B split `,` )  : `no image`",hit,exg2antt1.Items.get_CellImages(i,c),null).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.Columns.Add("Default");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellImages(var_Items.AddItem("Item 1"),0,"3,2,1");
	var_Items.set_CellImages(var_Items.AddItem("Item 2"),0,"2,3");
	var_Items.set_CellImages(var_Items.AddItem("Item 3"),0,"2,");
exg2antt1.EndUpdate();

2039
How can I get the icon from the cell when using the Items.CellImages property (icon position within the cell)

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	int i = exg2antt1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exg2antt1.FormatABC("( 0x44 = ( value bitand 0x44 ) ) ? 1 + ( (value bitand 0xFFFF0000) bitshift 16 ) : `no image`",hit,null,null).ToString() );
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

exg2antt1.BeginUpdate();
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.Columns.Add("Default");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellImages(var_Items.AddItem("Item 1"),0,"3,2,1");
	var_Items.set_CellImages(var_Items.AddItem("Item 2"),0,"2,3");
	var_Items.set_CellImages(var_Items.AddItem("Item 3"),0,"2");
exg2antt1.EndUpdate();

2038
I have an EBN bar. Now if I apply an additional color to the bar, e,g, yellow, the bar is displayed as "dark yellow", which I assume is due to the black EBN color. How can I get the more "bright yellow" color

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Summary",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items.get_GroupItem(Item);
		var_Items.set_CellSingleLine(Item,l,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(Item,l,true);
		var_Items.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
	var_Appearance.RenderType = 0xf0000000;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color32 = 0x1ff0000;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exNoLine;
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2037
Is it possible to change the visual appearance of the position signs when user changes the column's position by drag and drop

exg2antt1.BeginUpdate();
exg2antt1.HeaderAppearance = exontrol.EXG2ANTTLib.AppearanceEnum.Etched;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
	var_Columns.Add("Column 3");
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMYxXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzV" +
"IUcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4" +
"aDhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DB" +
"eEMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5fnueh/h+R5+AKABfkMWgGgGYA4AICoCGCE5WA4CphACMgSD2IRIDI" +
"BICmEd5YGCBpRjGBgegWIYIgWdgoGIRQsiKCZiAiJZ0gGQI4jUS4LECOAiBmDJflGfg2BSY4Al4OhGkOCJ2DgFJjGGfgqgiH5Ch4RhGkqOQmEOEpkFkHQYhJRYyESAok" +
"GKHhIhKIxJEmf4VGUeRGFmF5iBkchPhYJQ5GoYIZg6Ug6GoFYmkmNhuhulRGHKGoImefh0BUZ4JmYeoemeSZ2H6HQmgoBgXDqXwUAQgI=");
	var_Appearance.Add(2,"CP:1 0 -36 0 0");
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exColumnsPositionSign,0x2000000);
exg2antt1.EndUpdate();

2036
Overlaid-Types

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		object barName = var_Items.get_ItemData(Item);
		var_Items.AddBar(Item,barName,Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A1",null);
		var_Items.AddBar(Item,barName,Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A2",null);
		var_Items.AddBar(Item,barName,Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A3",null);
		var_Items.AddBar(Item,barName,Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A4",null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 22;
exg2antt1.Columns.Add("Task");
exg2antt1.ScrollBySingleLine = true;
exg2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.set_PaneWidth(false,164);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/28/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.Bars.Copy("Task","Intersect").Color = Color.FromArgb(255,0,0);
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsNone;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Copy("Task","Task-Transparent");
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsNone;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTransparent,50);
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBox;
		var_Bar.Color = Color.FromArgb(0,0,0);
		var_Bar.StartColor = Color.FromArgb(80,80,255);
		var_Bar.EndColor = var_Bar.StartColor;
	var_Chart.Bars.Copy("Task","Task-Offset").OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","Task-OffsetTransparent");
		var_Bar1.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
		var_Bar1.set_Overlaid(exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent,75);
	exontrol.EXG2ANTTLib.Bar var_Bar2 = var_Chart.Bars.Copy("Task","Task-Intersect");
		var_Bar2.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIntersect;
		var_Bar2.set_Overlaid(exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIntersect,"Intersect");
	var_Chart.Bars.Copy("Task","Task-Stack").OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
	exontrol.EXG2ANTTLib.Bar var_Bar3 = var_Chart.Bars.Copy("Task","Task-StackAutoArrange");
		var_Bar3.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar3.Color = Color.FromArgb(255,0,0);
		var_Bar3.OverlaidGroup = "Task";
	exontrol.EXG2ANTTLib.Bar var_Bar4 = var_Chart.Bars.Copy("Task","Task-Cascade");
		var_Bar4.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsCascade;
		var_Bar4.Color = Color.FromArgb(255,0,0);
		var_Bar4.OverlaidGroup = "Task";
	exontrol.EXG2ANTTLib.Bar var_Bar5 = var_Chart.Bars.Copy("Task","Task-Strict");
		var_Bar5.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStrict | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar5.OverlaidGroup = "Task";
		var_Bar5.Color = Color.FromArgb(255,0,0);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.InsertItem(0,"Task","Overlaid-None");
	var_Items.InsertItem(0,"Task-Transparent","Overlaid-Semi-Transparent");
	var_Items.InsertItem(0,"Task-Offset","Overlaid-Offset");
	var_Items.InsertItem(0,"Task-OffsetTransparent","Overlaid-OffsetTransparent");
	var_Items.InsertItem(0,"Task-Intersect","Overlaid-Intersect");
	var_Items.InsertItem(0,"Task-Stack","Overlaid-Stack");
	int h = var_Items.InsertItem(0,"Task-StackAutoArrange","Overlaid-StackAutoArrange");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T3",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T4",null);
	h = var_Items.InsertItem(0,"Task-Cascade","Overlaid-Cascade");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T2",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T3",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T4",null);
	var_Items.set_ItemBar(h,"<A*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOverlaidKey,"A");
	var_Items.set_ItemBar(h,"<T*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarOverlaidKey,"T");
	h = var_Items.InsertItem(0,"Task","Overlaid-StackStrict");
	var_Items.AddBar(h,"Task-Strict",Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T1",null);
	var_Items.set_ItemBar(0,"<*>",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%9%>");
exg2antt1.EndUpdate();

2035
FilterBarCaption ALLUI Keyword ( sample 3, result, leaf )

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemBackColor(Item,Color.FromArgb(240,240,240));
		object val = var_Items.get_CellValue(Item,var_Items.get_GroupItem(Item));
		var_Items.set_CellState(Item,var_Items.get_GroupItem(Item),exg2antt1.FormatABC("A = `Checked` ? 1 : 0",val,null,null));
	exontrol.EXG2ANTTLib.Items var_Items1 = exg2antt1.Items;
		var_Items1.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items1.AddBar(Item,"Summary",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items1.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items1.get_GroupItem(Item);
		var_Items1.set_CellSingleLine(Item,l,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items1.set_CellBold(Item,l,true);
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(240,240,240));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color32 = 0x1000000;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 rpos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( allui replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + leafitemcount + ` result(s)` ) : (`<r><fgcolor=808080>`+ leafitemcount + `" +
" item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.AllowGroupBy = true;
exg2antt1.SortBarVisible = true;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[2];
	var_Column5.FormatColumn = "%CS2 ? `Checked` : `Unchecked`";
	var_Column5.SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2034
A black portion is shown while I am using the BackColorAlternate with EBN colors. What can I do

exg2antt1.BeginUpdate();
exg2antt1.ColumnAutoResize = true;
exg2antt1.DefaultItemHeight = 20;
exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhIDhAxHAxg0HG0Mg4xGI3HMOig3GcJiYAf8jAEhhUnAAyhEqg8hk0oAsIjgAiAwmYxGA4mYzGwwkI0i0ooUnB0IBMIl1Dg8zmYyGolptPkI1m" +
"Y1GAll9KoUslNIrVCqNQldShFUstXAVfrVcrlZtVhuFnsUHq1zoczoQGhFBkNpg6zbDykUkhsPHE2h85nc9n8xtVDtlex9Msd2p1YstVq9ux8HyMtzuFz1PsNTzQlv2h" +
"hWfkuqpeVuN0q+nvEooN5veSAGpkb/ACcZrvhU3w83nM/poxGuchGpoVBvWgg+8knA4WimnFxI45Er5XOlHMg/Q3XU33W4ew9Wyu11mchDagcO7zus8VDoNBBEIKBpMY" +
"6DqOQyokhA/IQIQmwMk4bIQFDcoO6LWgwhQkNcABwEyAB5GwWbet6cRQg3DENQ5D8QxADZvEkAB8nabsURGeBpFM3pwE2AEZRpDx/neZpOR3Dz9oO/r/wCMoZNTBQAQR" +
"JSEwYg8HPGhEIoNCaEwq10gQ2WcRt7LcRxRFpuxUAEURQ3sczBEMgTTG8gN7HpOSEAEiQBAQZpmQ0DibPUFwbKcHwkhQoQtNQNzNEMbABOKDy/DMYQzHLeoPL0OTJSUd" +
"0pHcxTewk5zrIygIRPslz4lEngBKIAQivgASs/kLSBTlO00f8t0vGcgUbDlDRjXLCUNRERRvRgAHW2oAICA==");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Position") as exontrol.EXG2ANTTLib.Column);
	var_Column1.FormatColumn = "1 rindex ``";
	var_Column1.Visible = false;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%C1 mod 2",null);
	var_ConditionalFormat.BackColor32 = 0x1000000;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
exg2antt1.EndUpdate();

2033
How can I specify alternate background colors for each root item, similar with BackColorAlternate

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Position") as exontrol.EXG2ANTTLib.Column);
	var_Column1.FormatColumn = "( ( 1:=( ( 0:=(1 rpos '') ) lfind `.`) ) < 0 ? =:0 : (=:0 left =:1) )";
	var_Column1.Visible = false;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("%C1 mod 2",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(240,240,240);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	h = var_Items.AddItem("Root 3");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();

2032
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 4)

exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.VisualDesign = "gBFLBWIgBAEHhEJAEGg6VAkHeLpgwChAOhULB8XAUUg8MAAREEHGMcgRCJ0ei8dhABDEcQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGc" +
"TSBCIZBqEqSZLiEZRQiiCYsS5GQBRWAkEwiBiEQTjea5CgOIAFS7LIqjRQEBxhIaZYIGaiQADENo9TxIMZAfBIHShK6NJABCCSQKkYx0HScRijDIEFwGIQmbKiej4DCi" +
"CQQW7OYYRVCNMQSfa8HivJyrcamfp/YBgOBYHb1eLVPR5LwfPCGUw1P6PLxkORZHimK4tSLHV7xVpMIwZFafIQhCCoHomS5NU7UNR0TQUFx9FaGX7rDDsGwLAJ6XRgF4" +
"bg2VpnHePpenAN4bH2GwHFmApSjEGBLnWOpRGOTBZHOegrE6BxPiWVJqCweQrn0LgJAWJBjwgaw1gKO5HmWch5h+fovF+G5bmich4BgfZkB8dynRUVYqiUR5rnmex/F6" +
"N4tn2AJfnebZ3DEXw3HWXgzAyIwgicKJKBKEIhCeCgiHyHYFEmSAFmqBghFIdgSCeIJygYDAyAgJx6AoIINAMOJNCgCZCGoGoLmMCI+CwJoihMNglCCIhzFCUg0EmMhg" +
"hWDBkAiQg9CUY4jEYN4Jk2IxklYJoJHIUg+CSZJSESFwkkkGI+FOFIJEIRhPhMCRJCSVoRrSBhiDgTZjHYT4PEkYhwhgJYm0SaIaiaSYuE+GQNlmCIBGCJxjhiZQ5AkM" +
"hAg6ExJCkPhPguaAiFYUAlAkKZ0g6HoOEmWR/GHcA4m0OwIlIJIHCRgQshGJhpjoaocieaZiC6GAimkUgehIOwnGYGYIGkah6jaE4rg6SpCjKK5rEOMYlGIGIihKOggl" +
"oFoqj6L5aGaBo6CkGIkAQjiPpCAAaJILCTJQlKPACDaXJgmSaJsnCdJ4nygKEoijKQpSmKcqCpKoqysK0rivLAsSyLMtC1LYty4Lkui7LwvS+L8wDBMIwzEMUxjHMgyT" +
"KMszDNM4zzQNE0jTNQ1TWNc2DZNo2zcN03jfOA4TiOM5DlOY5zoOk6jrOw7TuO88DxPI8z0PU9j3Pg+T6Ps/D9P4/0AQFAkDQRBUGQdCEJQpC0MQ1DkPRBEUSRNFEVBh" +
"FkXRhGQ9D6Dxfh+W5gGGd4QH2XQjCmDpFFaKoVB+D5Xmed5+H8YAHnIAh9EwV5Fl0d4MkMKJICmSgygSJAoEmMUCIPgnDCCIOQFYCxJjwFoCcA4kxoF+AIJkAgExegDE" +
"gEYQInAzCUAIOEGgfxiiRDYF1Q4EQ2BSCaEQYwbAiKREMpRSymFNDIAkAxT6oVRgSA2qdVKq1WqvVirMZQUhSCnBUMoIgoQRgnGSIQUgkg1hIHYAkAYMROAmHiLsE4xx" +
"SCxBwEwCQ0wmDdBsE0GYXBtg2CSPMFIuwYiQBYBQeAcwOCnBCCZgw0g0glBONAQgqQThCGgPQGoBQfiRGmOEZIPAXjsBoPAO4HRThhA0EQSA5BAgaCKJIGg3QdhOCmNU" +
"BoQAijTCIF0FwQxpCHDIPAYYMQGgtCmFcaQtRAjZCyFYSojQ2B2BoKwIYFApBXEIBsIQ1QsAWAWEwaA1xCgjAoIAQBAQ=";
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
exg2antt1.EndUpdate();

2031
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 3)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(3,"gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5Jlg" +
"XIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIR" +
"gwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOM" +
"INCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=");
	var_Appearance.Add(1,"CP:3 -2 -2 2 2");
	var_Appearance.Add(4,"gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCE" +
"eBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchO" +
"FSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQO" +
"JtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=");
	var_Appearance.Add(2,"CP:4 -2 -2 2 2");
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exGroupLinesAtRoot;
exg2antt1.HasButtons = exontrol.EXG2ANTTLib.ExpandButtonEnum.exCustom;
exg2antt1.set_HasButtonsCustom(false,16777216);
exg2antt1.set_HasButtonsCustom(true,33554432);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
exg2antt1.EndUpdate();

2030
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 2)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"XP:TREEVIEW 2 1");
	var_Appearance.Add(2,"XP:TREEVIEW 2 2");
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exTreeGlyphOpen,0x1000000);
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exTreeGlyphClose,0x2000000);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
exg2antt1.EndUpdate();

2029
How can I find if the control is running in DPI mode
System.Diagnostics.Debug.Print( exg2antt1.FormatABC("dpi = 1 ? `normal/stretch mode` : `dpi mode`",null,null,null).ToString() );

2028
How can I change the visual appearance of the +/- buttons (method 1)

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5Jlg" +
"XIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIR" +
"gwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOM" +
"INCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCE" +
"eBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchO" +
"FSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQO" +
"JtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=");
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exTreeGlyphOpen,0x1000000);
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exTreeGlyphClose,0x2000000);
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
exg2antt1.EndUpdate();

2027
How can I add a summary bar once the user group by a column

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Summary",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items.get_GroupItem(Item);
		var_Items.set_CellSingleLine(Item,l,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(Item,l,true);
		var_Items.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOUGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADCMQwAFBIbhrE4ZBjHGQRUgyI43RhHUBzV" +
"IUBxDEaTZLlEYJBgeHYhDJPcaUVDcWQHGyeZwjSgpKoWSJIU5NcggPDgEwTKCmKlTAKoSzJMyEmwWRAdVTZLSEaxierKPhyWT/XgAF4PfDFKRXFqXY5mKZJFqKOI8TxI" +
"NgxPQMGyrBqraLqKwQGrGCQKSBhUZ3dS2JR3OSlYRuQAMVgOXoDZhPWZXbDtSzPE63NgtOR5DiGWalABoeoxRa9cz3ViCJSrGTqIoINIzZLHFQbPpdAYdP6BeIjXhhZx" +
"BBuLZXmEOh9CcNoni2N4MjWVodh+DpfBeLJinsWR9AyYwVAkGBhEAFphGiRogDEGBamkFgtjcZgHiMbgehYaQhAIEIREAaQYkcQZUHIGRUGQDBOEaBAhDYDxGkMZAkCg" +
"eoagYZAYEYAYIAWGhemICIFj8WIiCiFR5gkIhogmBoKGKJx2C6C5hniMgggqYwog0UoNGMZJiDiCZRgOLY0ECUAQICA==");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Summary"];
		var_Bar.StartShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.EndShape = exontrol.EXG2ANTTLib.ShapeCornerEnum.exShapeIconEmpty;
		var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeSolid;
		var_Bar.Color32 = 0x1000000;
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%513%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exNoLine;
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2026
Is it possible to display no +/- button for grouped items

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Progress",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items.get_GroupItem(Item);
		var_Items.set_CellSingleLine(Item,l,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(Item,l,true);
		var_Items.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exNoLine;
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exNoLinesAtRoot;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
	var_Column1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellBackColor,15790320);
exg2antt1.EndUpdate();

2025
How can I change the label, caption or the formula of the grouped items

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Progress",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("C1") as exontrol.EXG2ANTTLib.Column);
		var_Column.GroupByTotalField = "";
		var_Column.GroupByFormatCell = "upper(value)";
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column1.FormatColumn = "1 pos ``";
		var_Column1.AllowGroupBy = false;
		var_Column1.Position = 0;
		var_Column1.Width = 48;
		var_Column1.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exg2antt1.Columns[0].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2024
How can I change the aspect of grouped items

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Progress",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
		int l = var_Items.get_GroupItem(Item);
		var_Items.set_CellSingleLine(Item,l,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
		var_Items.set_CellBold(Item,l,true);
		var_Items.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
	exg2antt1.Chart.set_ItemBackColor(Item,Color.FromArgb(190,190,190));
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exg2antt1.Columns[0].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2023
How can I collapse all items when the user performs a grouping

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exg2antt1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ExpandItem(Item,false);
		var_Items.set_ItemDividerLine(Item,exontrol.EXG2ANTTLib.DividerLineEnum.EmptyLine);
		var_Items.AddBar(Item,"Progress",Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
		var_Items.DefineSummaryBars(Item,"",-3,"");
}
//this.exg2antt1.AddGroupItem += new exontrol.EXG2ANTTLib.exg2antt.AddGroupItemEventHandler(this.exg2antt1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "Drag a <b>column</b> header here to group by that column.";
exg2antt1.AllowGroupBy = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exg2antt1.Columns[0].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

2022
Is it possible to select columns that user can drop to the sort bar, when using the Group By feature

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/10/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,342);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
		var_Column.FormatColumn = "1 pos ``";
		var_Column.AllowGroupBy = false;
		var_Column.Position = 0;
		var_Column.Width = 48;
		var_Column.AllowSizing = false;
exg2antt1.SortBarVisible = true;
exg2antt1.SortBarCaption = "<fgcolor=FF0000>Try to drag the Pos column here.";
exg2antt1.AllowGroupBy = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item A");
	var_Items.set_CellValue(h,1,"SubItem A.1");
	var_Items.set_CellValue(h,2,"SubItem A.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
	h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"SubItem B.1");
	var_Items.set_CellValue(h,2,"SubItem B.2");
exg2antt1.EndUpdate();

2021
How can I filter for the type of the bars I have in my chart

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("11/28/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Chart.Bars.Copy("Task","GTask");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar1.Color = Color.FromArgb(0,255,0);
	exontrol.EXG2ANTTLib.Bar var_Bar2 = var_Chart.Bars.Copy("Task","RTask");
		var_Bar2.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%0%>");
		var_Bar2.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
		var_Bar2.Color = Color.FromArgb(255,0,0);
	var_Chart.ColumnsFormatLevel = "0";
exg2antt1.OnResizeControl = exontrol.EXG2ANTTLib.OnResizeControlEnum.exDisableSplitter | exontrol.EXG2ANTTLib.OnResizeControlEnum.exResizeChart;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Type") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"");
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,0);
	var_Column1.Visible = false;
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Item 1"),"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 2"),"GTask",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 3"),"RTask",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 4"),"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 5"),"GTask",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Item 6"),"RTask",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/12/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( all replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace `[" +
"<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matchi" +
"temcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount" +
" + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column2 = exg2antt1.Columns[1];
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "GTask|RTask";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2020
How can I display the control's filter bar in the Items section only, as it was displayed before

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShort;
exontrol.EXG2ANTTLib.Column var_Column3 = exg2antt1.Columns[1];
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column3.Filter = "*B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2019
FilterBarCaption ALL Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( all replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace `[" +
"<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matchi" +
"temcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount" +
" + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2018
FilterBarCaption ALL Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "all";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2017
FilterBarCaption ALLUI Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( allui replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2016
FilterBarCaption ALLUI Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "allui";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2015
FilterBarCaption AVAILABLE Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(( ( value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` ) + ` ` + ( ava" +
"ilable replace `[` with `<bgcolor=C0C0C0><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` replace `<s>` with `" +
"` replace `</s>` with `` ) + `<fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount" +
" + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount + ` item(s)`) )))";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2014
FilterBarCaption AVAILABLE Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	object i = exg2antt1.FormatABC("value + 1",exg2antt1.Items.get_ItemToIndex(Item),null,null);
	exg2antt1.Items.set_CellImage(Item,3,i);
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Image") as exontrol.EXG2ANTTLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "value + ` ` + available";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column5 = exg2antt1.Columns[0];
	var_Column5.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exg2antt1.Columns[2].Filter = 1.ToString();
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2013
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 3, results )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "(`<b>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) +" +
" ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )) replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replac" +
"e `]` with ` </b></bgcolor></fgcolor>`";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXG2ANTTLib.Column var_Column3 = exg2antt1.Columns[0];
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXG2ANTTLib.Column var_Column4 = exg2antt1.Columns[1];
	var_Column4.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2012
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 2 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>`";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXG2ANTTLib.Column var_Column3 = exg2antt1.Columns[0];
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXG2ANTTLib.Column var_Column4 = exg2antt1.Columns[1];
	var_Column4.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2011
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Col-1") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Col-2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,exg2antt1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exg2antt1.get_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exg2antt1.FilterBarCaption = "value replace `[` with `<fgcolor=808080>[` replace `]` with `]</fgcolor>`";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXG2ANTTLib.Column var_Column3 = exg2antt1.Columns[0];
	var_Column3.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXG2ANTTLib.Column var_Column4 = exg2antt1.Columns[1];
	var_Column4.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2010
Is it possible to automatically displays the control's filter label to the right

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarCaption = "`<r>` + value";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXG2ANTTLib.Column var_Column2 = exg2antt1.Columns[0];
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2009
How can I get the number of results/items being shown in the control's filter bar (sample 4)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exSortItemsAsc;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarPrompt = exg2antt1.FormatABC("`<b>` + value",exg2antt1.FilterBarPrompt,null,null).ToString();
exg2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount " +
"+ 1) + ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.EndUpdate();

2008
How can I get the number of results being shown in the control's filter bar (sample 3)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount " +
"+ 1) + ` result(s)` ) : ``)";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2007
How can I get the number of results being shown in the control's filter bar (sample 2, compact)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? `<off -4> ` + abs(matchitemcount + 1) + ` result(s)` : ``)";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2006
How can I get the number of results being shown in the control's filter bar (sample 1)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<b>` + value + `</b><r><fgcolor=808080>` + ( matchitemcount < 0 ? abs(matchitemcount + 1) + ` result(s)` : ``)";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2005
FilterBarCaption Predefined Keywords

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

// AfterExpandItem event - Fired after an item is expanded (collapsed).
private void exg2antt1_AfterExpandItem(object sender,int   Item)
{
	exg2antt1.Refresh();
}
//this.exg2antt1.AfterExpandItem += new exontrol.EXG2ANTTLib.exg2antt.AfterExpandItemEventHandler(this.exg2antt1_AfterExpandItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellState(var_Items.InsertItem(h,null,"Sub-Item B1"),1,1);
	var_Items.InsertItem(h,null,"Sub-Item B2");
	var_Items.set_ExpandItem(h,true);
	var_Items.AddItem("Item C");
exg2antt1.FilterInclude = exontrol.EXG2ANTTLib.FilterIncludeEnum.exItemsWithChilds;
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<fgcolor=0000FF><i>value/current</i></fgcolor>: <fgcolor=808080>` + value + `</fgcolor>` + `<br><fgcolor=0000FF><i>available</" +
"i></fgcolor>: ` + available + `<br><fgcolor=0000FF><i>allui</i></fgcolor>: ` + allui + `<br><fgcolor=0000FF><i>all</i></fgcolor>" +
": ` + all + `<br><fgcolor=0000FF><i>itemcount</i></fgcolor>: <fgcolor=808080>` + itemcount + `</fgcolor>`+ `<br><fgcolor=0000FF>" +
"<i>visibleitemcount</i></fgcolor>: <fgcolor=808080>` + visibleitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>matchitemcount</" +
"i></fgcolor>: <fgcolor=808080>` + matchitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>promptpattern</i></fgcolor>: <fgcolor=8" +
"08080>` + promptpattern + `</fgcolor>`+ `<br><fgcolor=0000FF><i>leafitemcount</i></fgcolor>: <fgcolor=808080>` + leafitemcount +" +
" `</fgcolor>`";
exg2antt1.FilterBarPromptPattern = "B";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column2 = exg2antt1.Columns[0];
	var_Column2.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2004
I am using filter prompt feature, and also column's filter, just wondering if possible to compact displaying the filter bar so it won't show on multiple lines

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarFont = (exg2antt1.Font as stdole.IFontDisp);
exg2antt1.FilterBarCaption = "`<r><i><fgcolor=808080><upline><solidline><sha ;;0>` + value";
exg2antt1.FilterBarPromptPattern = "B";
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXG2ANTTLib.Column var_Column1 = exg2antt1.Columns[0];
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

2003
Just wondering if it is possible to show the filter bar's close button on the right ( sample 2 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.FilterBarPrompt = exg2antt1.FormatABC("`<r>` + value",exg2antt1.FilterBarPrompt,null,null).ToString();
exg2antt1.EndUpdate();

2002
Just wondering if it is possible to show the filter bar's close button on the right ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exg2antt1.RightToLeft = true;
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.EndUpdate();

2001
How can I change the visual appearance of the filter bar's close button (EBN)

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.AddBar(Item,"Task",Convert.ToDateTime("12/4/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/14/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/2/2017",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABHQDg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLOg7IJ" +
"jyI4/SJAYCydKAWhxIaZKJHCZoEDaTAADCNVAQp6MEIJVbVEI0e79OgBLp/Z7kECIJJAaRjHQdJxGLA8EhtCQhCZteK6SgMKJYXhWQYRXI1JwvMBrWrdQjiOYELQtMKm" +
"SZNLYGG4dR5SVJbcYhSYsRRFMoyDIOXYDLKsdYqSpXIThObEGgaPqJYjsUjCMKnR7HVIURrBPC9TBPE69ZgmC6ucKPX51ShKFaBWDZcwFAS+UBuYCAILiEAQGZ1XT8OR" +
"OicbgJgSTJRlCaZeDsHY7QGR4xkSYp3CaExZAQMgalQYAwjCAAfBANxcA2TgKAUOpDCGFhKg0RpXCwCwDHQHQHEyAIkCkOhbFOGA8A8DohBgRg9AccZcn8EpEjMLI2C2" +
"DYxAgQgvAIUIVkoAAPBQDJlECTZ3CCYwDACQwUA8A5MCAWAWDiQi4l8aQOEgLJuBgBgDmYFAzEoIoIl0WALgKYJbBABADAAHgHg8VAMmqCQQDMXABAATYwTmNwBDATJX" +
"AiAgjHmNQ5lgQ5QEQEQMmcWg/GwD5ylyNw2gMcJcjsBgBgOQQDDhRpVAMMwnDBFw1B0Ax8D0DxOmmJJIGQTY5hGMAwkwM4CAYLZAmAOJnAqAojiIGg6iieYkmeAYOHaK" +
"JDCyCwjH6AoggsQpQliAJLhgaJ0CESBTnyDwjk+cg4g4P5IHIHJ+BWRRzlYWAxiOUxihsY4KjKLJRGqC44FCegkkkM58iAKAPnIWIWD8SRSFSfQnkmewUhYP4GiGKJ7G" +
"0TIbCSUoggqUo0lAQ4LnEcBcD8Coiiif4nE+eAAn2HpOkcFJqi4T5SkyMw/kqQown8IBIBOdA+A+DJrBqVxXEqYo4lCApLhGHBnD8S4ymyfxmg+cwQkQP5egOUZIWoEA" +
"kjIeIPBMBJBD+TBjBifwvkuc58hQJQPmFrYykkchclSApKjGOBuD+TRDFCfw3mmIxNi8FxFlOXhVC4aYDFyPgvg2YBcBcLZGCGCJ0DSLRzGSWQ/lmY5+mEP5gmMDBZRS" +
"MRsFsOxMhMJJ/DsTpTnwaQaE+N5ojuNhdEYNI5C4TZJO1GRDmCaxnA2Yx4n8IpIjOTBQBQC5TgyYw7gUYRYikC0BYRwsDQBoB8eA6Q2hsE0BUXgywZtYCyHMKwnxSAhA" +
"QHkIQhRrBaDsCwA4ERiB2EWAIYIXhhiVEgAEUYwwYjyASLge4FhHgRDkM8OQih0jWPkGgBBAQ");
(exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column).DisplayFilterButton = true;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos") as exontrol.EXG2ANTTLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.FilterBarPromptVisible = exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXG2ANTTLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exg2antt1.set_Background32(exontrol.EXG2ANTTLib.BackgroundPartEnum.exFooterFilterBarButton,0x1000000);
exg2antt1.EndUpdate();